Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / PrintManager Class / GetPaginationInfo Method / GetPaginationInfo(IWorksheet,PaginationOrientation,IList<IRange>,IList<RepeatSetting>) Method
The worksheet object.
The orientation of pagination.
The collection of ranges that need to keep together.
The collection of repeat settings for a Range.
In This Topic
    GetPaginationInfo(IWorksheet,PaginationOrientation,IList<IRange>,IList<RepeatSetting>) Method
    In This Topic
    Returns an array of row or column indexes which represents the page boundaries for vertical or horizontal paging. The Pagination is based on the settings in the PageSetup of the current worksheet.
    Syntax
    public System.Collections.Generic.IList<int> GetPaginationInfo( 
       IWorksheet worksheet,
       PaginationOrientation orientation,
       System.Collections.Generic.IList<IRange> keepTogetherRanges,
       System.Collections.Generic.IList<RepeatSetting> repeatSettings
    )

    Parameters

    worksheet
    The worksheet object.
    orientation
    The orientation of pagination.
    keepTogetherRanges
    The collection of ranges that need to keep together.
    repeatSettings
    The collection of repeat settings for a Range.
    See Also